package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcMemberLevelMapper;
import com.csun.cmny.provider.model.domain.OmcMemberLevel;
import com.csun.cmny.provider.model.dto.memberLevel.MemberLevelQueryDto;
import com.csun.cmny.provider.model.vo.memberLevel.MemberLevelVo;
import com.csun.cmny.provider.service.OmcMemberLevelService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class OmcMemberLevelServiceImpl  extends BaseService<OmcMemberLevel> implements OmcMemberLevelService {
    @Resource
    private OmcMemberLevelMapper omcMemberLevelMapper;

    @Override
    public List<MemberLevelVo> selectPageQuery(MemberLevelQueryDto memberLevelQueryDto) {
        return omcMemberLevelMapper.selectPageQuery(memberLevelQueryDto);
    }
}
